﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Estore.Controllers
{
    public class BaseController : Controller
    {
        //
        // GET: /Base/

        public ActionResult RedirectIndex()
        {
            return RedirectToAction("Index", "Index", new { returnUrl = Request.Path });
        }
        public ActionResult RedirectLogon()
        {
            return RedirectToAction("Logon", "Account", new { returnUrl = Request.Path });
        }

    }
}
